<?php
class Exts_Views_Helpers_User extends Zend_View_Helper_Abstract {
    public function user()
    {
        return $this;
    
    }
	
    public function getUsername($id)
    {
    	$user = new Exts_Models_Users();
    	$row = $user->find( $id )->current();
    	if( count( $row )){
    		return $row->username;
    	}
    	return '';
    	
    }
}